<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
	.KEYW {color: #933;}
	.COMM {color: #bbb; font-style: italic;}
	.NUMB {color: #393;}
	.STRN {color: #393;}
	.REGX {color: #339;}
	.linenumber {border-right: 1px dotted #666; color: #666; font-style: normal;}
	</style></head><body><pre><span class='linenumber'>  1</span> <span class="COMM">/*
<span class='linenumber'>  2</span> 12/2007.
<span class='linenumber'>  3</span> */</span><span class="WHIT">
<span class='linenumber'>  4</span> 
<span class='linenumber'>  5</span> 
<span class='linenumber'>  6</span> </span><span class="COMM">//Namespace 2112</span><span class="WHIT">
<span class='linenumber'>  7</span> </span><span class="NAME">window.NS2112</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">window.NS2112</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>  8</span> 
<span class='linenumber'>  9</span> 
<span class='linenumber'> 10</span> 
<span class='linenumber'> 11</span> </span><span class="COMM">//Experimental Window Manager Function </span><span class="WHIT">
<span class='linenumber'> 12</span> </span><span class="COMM">//Prevents the Content in a Window Panel from being not adjusted to the</span><span class="WHIT">
<span class='linenumber'> 13</span> </span><span class="COMM">//Windows new Height when new Height is bigger than it was before (in Cascade Windows).</span><span class="WHIT">
<span class='linenumber'> 14</span> 
<span class='linenumber'> 15</span> </span><span class="NAME">xpResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">me</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newY</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 16</span> </span><span class="PUNC">{</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'> 17</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'> 18</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'> 19</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 20</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.footer.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 21</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 22</span> </span><span class="WHIT">			</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 23</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 24</span> 
<span class='linenumber'> 25</span> </span><span class="WHIT">     </span><span class="WHIT">
<span class='linenumber'> 26</span> </span><span class="WHIT">      </span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"width"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 27</span> </span><span class="WHIT">      </span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"height"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 28</span> </span><span class="WHIT">		</span><span class="NAME">me.body.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT">  </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 29</span> 
<span class='linenumber'> 30</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 31</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetWidth</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 32</span> 
<span class='linenumber'> 33</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 34</span> </span><span class="WHIT">			</span><span class="NAME">me.innerElement.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 35</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 36</span> 
<span class='linenumber'> 37</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">100</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 38</span> </span><span class="WHIT">			</span><span class="NAME">me.innerElement.style.width</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"100px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 39</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 40</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">me.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_iFrame'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 41</span> </span><span class="WHIT">	   </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 42</span> </span><span class="WHIT">	   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 43</span> </span><span class="WHIT">         </span><span class="NAME">myIFrame.height</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'> 44</span> </span><span class="WHIT">		   </span><span class="NAME">myIFrame.width</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'> 45</span> </span><span class="WHIT">	   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 46</span> 
<span class='linenumber'> 47</span> 
<span class='linenumber'> 48</span> </span><span class="PUNC">}</span><span class="COMM">//end experimental</span><span class="WHIT">
<span class='linenumber'> 49</span> 
<span class='linenumber'> 50</span> </span><span class="NAME">YAHOO.namespace</span><span class="PUNC">(</span><span class="STRN">"YuiPortals"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">	</span><span class="WHIT">
<span class='linenumber'> 51</span> </span><span class="NAME">YAHOO.YuiPortals.constDefaultWindowWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">700</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 52</span> </span><span class="NAME">YAHOO.YuiPortals.constDefaultWindowHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">450</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 53</span> </span><span class="NAME">YAHOO.YuiPortals.MenuManager</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myItemData</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iZIndex</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 54</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 55</span> </span><span class="WHIT">   </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">oMenuBar</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 56</span> </span><span class="WHIT">   </span><span class="NAME">m_MenuItemZIndex</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">iZIndex</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 57</span> </span><span class="WHIT">   </span><span class="NAME">m_ItemData</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">myItemData</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 58</span> </span><span class="WHIT">   </span><span class="NAME">this.myNLS</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">NS2112.nlsProvider</span><span class="PUNC">(</span><span class="STRN">"DE"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 59</span> </span><span class="WHIT">   </span><span class="NAME">this.show</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 60</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 61</span> </span><span class="WHIT">      </span><span class="NAME">oMenuBar.render</span><span class="PUNC">(</span><span class="NAME">document.body</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 62</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 63</span> 
<span class='linenumber'> 64</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'> 65</span> </span><span class="WHIT">   </span><span class="NAME">this.setMenuTexts</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">subItemData</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'> 66</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 67</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">s</span><span class="PUNC">=</span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">s</span><span class="PUNC">&lt;</span><span class="NAME">subItemData.length</span><span class="PUNC">;</span><span class="NAME">s</span><span class="PUNC">++</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 68</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 69</span> </span><span class="WHIT">         </span><span class="COMM">//if (typeof subItemData[s] == 'undefined')  {subItemData.splice(s, 1) ; continue ;}</span><span class="WHIT">
<span class='linenumber'> 70</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">text</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="KEYW">continue</span><span class="PUNC">;</span><span class="WHIT">                  </span><span class="WHIT">
<span class='linenumber'> 71</span> </span><span class="WHIT">         </span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">text</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.myNLS.getElementText</span><span class="PUNC">(</span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">text</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'> 72</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">submenu</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">submenu.itemdata</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 73</span> </span><span class="WHIT">         </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 74</span> </span><span class="WHIT">            </span><span class="NAME">this.setMenuTexts</span><span class="PUNC">(</span><span class="NAME">subItemData</span><span class="PUNC">[</span><span class="NAME">s</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">submenu.itemdata</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 75</span> </span><span class="WHIT">         </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 76</span> </span><span class="WHIT">                  </span><span class="WHIT">
<span class='linenumber'> 77</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 78</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 79</span> 
<span class='linenumber'> 80</span> 
<span class='linenumber'> 81</span> </span><span class="WHIT">   </span><span class="NAME">this.createMenuBar</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 82</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 83</span> </span><span class="COMM">//NLS translate menuTexts</span><span class="WHIT">
<span class='linenumber'> 84</span> </span><span class="COMM">/*
<span class='linenumber'> 85</span>       for(var i=0; i&lt;m_ItemData.length;i++)
<span class='linenumber'> 86</span>       {
<span class='linenumber'> 87</span>          //if (typeof m_ItemData[i] == 'undefined')  {m_ItemData.splice(i, 1) ; continue ;}
<span class='linenumber'> 88</span>          if( null == m_ItemData[i] || null == m_ItemData[i].text ) continue;         
<span class='linenumber'> 89</span>           m_ItemData[i].text = this.myNLS.getElementText(m_ItemData[i].text) ;
<span class='linenumber'> 90</span>          if( null != m_ItemData[i].submenu.itemdata )
<span class='linenumber'> 91</span>          {
<span class='linenumber'> 92</span>             this.setMenuTexts(m_ItemData) ;
<span class='linenumber'> 93</span>          }
<span class='linenumber'> 94</span>         
<span class='linenumber'> 95</span>       }
<span class='linenumber'> 96</span>       */</span><span class="WHIT">
<span class='linenumber'> 97</span> 
<span class='linenumber'> 98</span> </span><span class="WHIT">      </span><span class="NAME">this.setMenuTexts</span><span class="PUNC">(</span><span class="NAME">m_ItemData</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 99</span> </span><span class="WHIT">      </span><span class="NAME">oMenuBar</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.MenuBar</span><span class="PUNC">(</span><span class="STRN">"mymenubar"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="NAME">lazyload</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">itemdata</span><span class="PUNC">:</span><span class="NAME">myItemData</span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>100</span> </span><span class="WHIT">      </span><span class="NAME">oMenuBar.autosubmenudisplay</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>101</span> </span><span class="WHIT">      </span><span class="NAME">oMenuBar.clickEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">,</span><span class="NAME">data</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">	</span><span class="WHIT">
<span class='linenumber'>102</span> </span><span class="WHIT">               </span><span class="NAME">this.setZ</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>103</span> </span><span class="WHIT">					</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>104</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>105</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>106</span> 
<span class='linenumber'>107</span> </span><span class="WHIT">   </span><span class="NAME">this.setZ</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>108</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>109</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">i</span><span class="PUNC">=</span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">i</span><span class="PUNC">&lt;</span><span class="NAME">myItemData.length</span><span class="PUNC">;</span><span class="NAME">i</span><span class="PUNC">++</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>110</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>111</span> </span><span class="WHIT">        </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">m_ItemData</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">m_ItemData</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">submenu</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>112</span> </span><span class="WHIT">        </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>113</span> </span><span class="WHIT">	      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myMen</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">m_ItemData</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">submenu.id</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>114</span> </span><span class="WHIT">	      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myMen</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>115</span> </span><span class="WHIT">	      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>116</span> </span><span class="WHIT">		      </span><span class="NAME">myMen.style.zIndex</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">m_MenuItemZIndex</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>117</span> </span><span class="WHIT">            </span><span class="NAME">myMen.style.display</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"block"</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>118</span> </span><span class="WHIT">            </span><span class="COMM">//myMen.clickEvent.subscribe(function() {alert("click") ;}, this, true) ;</span><span class="WHIT">
<span class='linenumber'>119</span> </span><span class="WHIT">            </span><span class="NAME">YAHOO.util.Event.removeListener</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">myMen</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"click"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">onMenuItemClick</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>120</span> </span><span class="WHIT">            </span><span class="NAME">YAHOO.util.Event.addListener</span><span class="PUNC">(</span><span class="NAME">myMen</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"click"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">onMenuItemClick</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myMen</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>121</span> </span><span class="WHIT">	      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>122</span> 
<span class='linenumber'>123</span> </span><span class="WHIT">        </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>124</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>125</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>126</span> 
<span class='linenumber'>127</span> </span><span class="WHIT">   </span><span class="NAME">this.getItems</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>128</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>129</span> </span><span class="WHIT">      </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">oMenuBar.getItems</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>130</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>131</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>132</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>133</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>134</span> 
<span class='linenumber'>135</span> 
<span class='linenumber'>136</span> 
<span class='linenumber'>137</span> </span><span class="COMM">//</span><span class="WHIT">
<span class='linenumber'>138</span> </span><span class="COMM">//WindowManager = new YAHOO.widget.OverlayManager();</span><span class="WHIT">
<span class='linenumber'>139</span> </span><span class="COMM">//Sp�ter f. Window-Manager (Tile/Cascade)...</span><span class="WHIT">
<span class='linenumber'>140</span> 
<span class='linenumber'>141</span> </span><span class="NAME">YAHOO.YuiPortals.WindowManager</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">orgX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">orgY</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">offsX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">offsY</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">strLanguage</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>142</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>143</span> </span><span class="WHIT">   </span><span class="NAME">this.foo</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>144</span> </span><span class="WHIT">   </span><span class="NAME">this.iWindowOriginX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">orgX</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//for cascade, where to start</span><span class="WHIT">
<span class='linenumber'>145</span> </span><span class="WHIT">   </span><span class="NAME">this.iWindowOriginY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">orgY</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>146</span> </span><span class="WHIT">   </span><span class="NAME">this.iCascadeOffsetX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">offsX</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>147</span> </span><span class="WHIT">   </span><span class="NAME">this.iCascadeOffsetY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">offsY</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>148</span> </span><span class="WHIT">   </span><span class="NAME">this.m_iWindowExtX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">YAHOO.YuiPortals.constDefaultWindowWidth</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">   </span><span class="COMM">//loading defaults</span><span class="WHIT">
<span class='linenumber'>149</span> </span><span class="WHIT">   </span><span class="NAME">this.m_iWindowExtY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">YAHOO.YuiPortals.constDefaultWindowHeight</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>150</span> </span><span class="WHIT">   </span><span class="NAME">this.myHiddenPanels</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Array</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//on hide all</span><span class="WHIT">
<span class='linenumber'>151</span> </span><span class="WHIT">   </span><span class="NAME">this.OverlayManager</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.OverlayManager</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>152</span> </span><span class="WHIT">   </span><span class="NAME">this.dragged</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>153</span> 
<span class='linenumber'>154</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>155</span> 
<span class='linenumber'>156</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>157</span> 
<span class='linenumber'>158</span> 
<span class='linenumber'>159</span> </span><span class="WHIT">   </span><span class="COMM">//language support</span><span class="WHIT">
<span class='linenumber'>160</span> </span><span class="WHIT">   </span><span class="NAME">this.myNLS</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">NS2112.nlsProvider</span><span class="PUNC">(</span><span class="STRN">"DE"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>161</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>162</span> </span><span class="WHIT">   </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetX</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">20</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>163</span> </span><span class="WHIT">   </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetY</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">20</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>164</span> 
<span class='linenumber'>165</span> </span><span class="WHIT">   </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">this.iWindowOriginY</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="NAME">this.iWindowOriginY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">50</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>166</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>167</span> </span><span class="WHIT">   </span><span class="NAME">this.compareZIndexAsc</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">o1</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o2</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>168</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">zIndex1</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">o1.cfg.getProperty</span><span class="PUNC">(</span><span class="STRN">"zIndex"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>169</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">zIndex2</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">o2.cfg.getProperty</span><span class="PUNC">(</span><span class="STRN">"zIndex"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>170</span> 
<span class='linenumber'>171</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">zIndex1</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">zIndex2</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>172</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>173</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">zIndex1</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="NAME">zIndex2</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>174</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>175</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>176</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>177</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>178</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>179</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>180</span> </span><span class="WHIT">   </span><span class="NAME">this.unlink</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>181</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>182</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>183</span> </span><span class="WHIT">      </span><span class="NAME">this.OverlayManager.remove</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>184</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>185</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>186</span> 
<span class='linenumber'>187</span> </span><span class="WHIT">   </span><span class="NAME">this.cascadeWindows</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>188</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>189</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">iOffsY</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>190</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">iOffsX</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>191</span> 
<span class='linenumber'>192</span> </span><span class="WHIT">      </span><span class="NAME">iOffsX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>193</span> </span><span class="WHIT">      </span><span class="NAME">iOffsY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>194</span> 
<span class='linenumber'>195</span> </span><span class="WHIT">      </span><span class="NAME">this.OverlayManager.overlays.sort</span><span class="PUNC">(</span><span class="NAME">this.compareZIndexAsc</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>196</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>197</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>198</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>199</span> </span><span class="WHIT">         </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">innerElement.style.width</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.m_iWindowExtX</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>200</span> </span><span class="WHIT">         </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">innerElement.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.m_iWindowExtY</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>201</span> </span><span class="WHIT">         </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">moveTo</span><span class="PUNC">(</span><span class="NAME">this.iWindowOriginX</span><span class="PUNC">+</span><span class="NAME">iOffsX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.iWindowOriginY</span><span class="PUNC">+</span><span class="NAME">iOffsY</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">    </span><span class="WHIT">
<span class='linenumber'>202</span> </span><span class="WHIT">         </span><span class="NAME">xpResize</span><span class="PUNC">(</span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.m_iWindowExtX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>203</span> </span><span class="WHIT">                          </span><span class="NAME">this.m_iWindowExtY</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.iWindowOriginX</span><span class="PUNC">+</span><span class="NAME">iOffsX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.iWindowOriginY</span><span class="PUNC">+</span><span class="NAME">iOffsY</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>204</span> </span><span class="WHIT">         </span><span class="NAME">this.setFocus</span><span class="PUNC">(</span><span class="NAME">X</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>205</span> </span><span class="WHIT">         </span><span class="NAME">iOffsX</span><span class="PUNC">+</span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetX</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>206</span> </span><span class="WHIT">         </span><span class="NAME">iOffsY</span><span class="PUNC">+</span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.iCascadeOffsetY</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>207</span> </span><span class="WHIT">         </span><span class="WHIT">
<span class='linenumber'>208</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>209</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>210</span> 
<span class='linenumber'>211</span> </span><span class="WHIT">   </span><span class="NAME">this.setFocus</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strWindowName</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>212</span> </span><span class="WHIT">  </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>213</span> </span><span class="WHIT">    </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myOverlay</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.find</span><span class="PUNC">(</span><span class="NAME">strWindowName</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>214</span> </span><span class="WHIT">    </span><span class="NAME">this.OverlayManager.focus</span><span class="PUNC">(</span><span class="NAME">myOverlay</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>215</span> </span><span class="WHIT">  </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>216</span> 
<span class='linenumber'>217</span> </span><span class="COMM">//repelling the dreadful 'still reloading' effect in Firefox</span><span class="WHIT">
<span class='linenumber'>218</span> </span><span class="WHIT">  </span><span class="NAME">this.endDrag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>219</span> </span><span class="WHIT">  </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>220</span> </span><span class="WHIT">      </span><span class="NAME">this.dragged</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>221</span> </span><span class="WHIT">  </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>222</span> 
<span class='linenumber'>223</span> </span><span class="WHIT">  </span><span class="NAME">this.hideOnDrag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT">  </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myDraggedObject</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>224</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>225</span> </span><span class="WHIT">      </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">this.dragged</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//optimization, do not execute all mouseMove times.</span><span class="WHIT">
<span class='linenumber'>226</span> </span><span class="WHIT">    </span><span class="WHIT">
<span class='linenumber'>227</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>228</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>229</span> </span><span class="WHIT">         </span><span class="COMM">//if(myDraggedObject.id == this.OverlayManager.overlays[X].WindowName) continue ; //do not hide my contents</span><span class="WHIT">
<span class='linenumber'>230</span> </span><span class="WHIT">         </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_outer'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>231</span> 
<span class='linenumber'>232</span> </span><span class="WHIT">	      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>233</span> </span><span class="WHIT">	      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>234</span> </span><span class="WHIT">		      </span><span class="NAME">myOuter.style.display</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'none'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>235</span> </span><span class="WHIT">           </span><span class="COMM">//myOuter.style.visibility = 'hidden' ;</span><span class="WHIT">
<span class='linenumber'>236</span> </span><span class="WHIT">           </span><span class="WHIT">
<span class='linenumber'>237</span> </span><span class="WHIT">	      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>238</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>239</span> </span><span class="WHIT">      </span><span class="NAME">this.dragged</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//indicate drag action</span><span class="WHIT">
<span class='linenumber'>240</span> 
<span class='linenumber'>241</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>242</span> </span><span class="COMM">//not working - since overlaymanager would remove panels when calling hide...</span><span class="WHIT">
<span class='linenumber'>243</span> </span><span class="WHIT">   </span><span class="NAME">this.showAll</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>244</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>245</span> </span><span class="WHIT">      </span><span class="COMM">//this.OverlayManager.showAll() ;</span><span class="WHIT">
<span class='linenumber'>246</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>247</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>248</span> </span><span class="WHIT">         </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">show</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>249</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>250</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>251</span> 
<span class='linenumber'>252</span> </span><span class="WHIT">   </span><span class="NAME">this.hideAll</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>253</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>254</span> </span><span class="WHIT">      </span><span class="COMM">//this.OverlayManager.hideAll() ;</span><span class="WHIT">
<span class='linenumber'>255</span> </span><span class="WHIT">       </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>256</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>257</span> </span><span class="WHIT">         </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">hide</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>258</span> </span><span class="WHIT">         </span><span class="WHIT">
<span class='linenumber'>259</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>260</span> 
<span class='linenumber'>261</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>262</span> </span><span class="COMM">//repelling the dreadful 'still reloading' effect in Firefox</span><span class="WHIT">
<span class='linenumber'>263</span> </span><span class="COMM">//this Method is called with event onBeforeHide for the panel</span><span class="WHIT">
<span class='linenumber'>264</span> </span><span class="COMM">//it makes invisible the outer div of the panels body...</span><span class="WHIT">
<span class='linenumber'>265</span> </span><span class="WHIT">   </span><span class="NAME">this.hideContent</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myDraggedObject</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>266</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>267</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>268</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>269</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myDraggedObject.id</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">WindowName</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="COMM">//match</span><span class="WHIT">
<span class='linenumber'>270</span> </span><span class="WHIT">         </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="COMM">//do  hide my contents</span><span class="WHIT">
<span class='linenumber'>271</span> </span><span class="WHIT">          </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_outer'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>272</span> 
<span class='linenumber'>273</span> </span><span class="WHIT">	         </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>274</span> </span><span class="WHIT">	         </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>275</span> </span><span class="WHIT">		         </span><span class="NAME">myOuter.style.display</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'none'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>276</span> </span><span class="WHIT">               </span><span class="COMM">//myOuter.style.visibility = 'hidden' ;</span><span class="WHIT">
<span class='linenumber'>277</span> </span><span class="WHIT">               </span><span class="KEYW">break</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">           </span><span class="WHIT">
<span class='linenumber'>278</span> </span><span class="WHIT">	         </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>279</span> </span><span class="WHIT">         </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>280</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>281</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>282</span> 
<span class='linenumber'>283</span> </span><span class="WHIT">   </span><span class="NAME">this.showContentAll</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT">  </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>284</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>285</span> 
<span class='linenumber'>286</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>287</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>288</span> </span><span class="WHIT">         </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_outer'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>289</span> </span><span class="WHIT">	      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>290</span> </span><span class="WHIT">	      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>291</span> </span><span class="COMM">/*
<span class='linenumber'>292</span> this statement causes the dreadful 'still reloading' effect in Firefox
<span class='linenumber'>293</span> but currently no other solution available...
<span class='linenumber'>294</span> 
<span class='linenumber'>295</span> */</span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>296</span> </span><span class="WHIT">		      </span><span class="NAME">myOuter.style.display</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'block'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>297</span> </span><span class="WHIT">            </span><span class="COMM">//myOuter.style.display = 'inline' ; </span><span class="WHIT">
<span class='linenumber'>298</span> </span><span class="WHIT">            </span><span class="COMM">//myOuter.style.visibility = 'visible' ;            </span><span class="WHIT">
<span class='linenumber'>299</span> </span><span class="WHIT">	      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>300</span> </span><span class="WHIT">         </span><span class="WHIT">
<span class='linenumber'>301</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>302</span> 
<span class='linenumber'>303</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT"> </span><span class="COMM">//showContentAll</span><span class="WHIT">
<span class='linenumber'>304</span> </span><span class="WHIT">   </span><span class="COMM">//Performance optimization - hide unders while Dragging</span><span class="WHIT">
<span class='linenumber'>305</span> </span><span class="WHIT">   </span><span class="NAME">this.hideUnders</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>306</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>307</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">Debug</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>308</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>309</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>310</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">X</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">this.OverlayManager.overlays</span><span class="PUNC">[</span><span class="NAME">X</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">WindowName</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="KEYW">continue</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>311</span> </span><span class="WHIT">         </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">X</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_outer'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>312</span> </span><span class="WHIT">	      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myOuter</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>313</span> </span><span class="WHIT">	      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>314</span> </span><span class="WHIT">		      </span><span class="NAME">myOuter.style.display</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'none'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>315</span> </span><span class="WHIT">	      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>316</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>317</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>318</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>319</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>320</span> 
<span class='linenumber'>321</span> 
<span class='linenumber'>322</span> </span><span class="COMM">// BEGIN RESIZEPANEL SUBCLASS //</span><span class="WHIT">
<span class='linenumber'>323</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>324</span> </span><span class="WHIT">               </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arguments.length</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>325</span> </span><span class="WHIT">                  </span><span class="NAME">this.WindowName</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">el</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">                   </span><span class="WHIT">
<span class='linenumber'>326</span> </span><span class="WHIT">						</span><span class="NAME">YAHOO.widget._2112ResizePanel_.superclass.constructor.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">                  </span><span class="WHIT">
<span class='linenumber'>327</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>328</span> </span><span class="WHIT">               </span><span class="NAME">this.ddResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>329</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>330</span> 
<span class='linenumber'>331</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.extend</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.Panel</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>332</span> </span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>333</span> </span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>334</span> 
<span class='linenumber'>335</span> 
<span class='linenumber'>336</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_PANEL_RESIZE</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"resizepanel"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>337</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_RESIZE_HANDLE</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"resizehandle"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>338</span> 
<span class='linenumber'>339</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.prototype.init</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>340</span> </span><span class="WHIT">                  </span><span class="WHIT">
<span class='linenumber'>341</span> </span><span class="WHIT">               </span><span class="COMM">//this.dd = new YAHOO.util.DDProxy(el) ;</span><span class="WHIT">
<span class='linenumber'>342</span> </span><span class="WHIT">               </span><span class="COMM">//this.dd.resizeFrame = false ;</span><span class="WHIT">
<span class='linenumber'>343</span> </span><span class="WHIT">					</span><span class="NAME">YAHOO.widget._2112ResizePanel_.superclass.init.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>344</span> </span><span class="WHIT">					</span><span class="NAME">this.beforeInitEvent.fire</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>345</span> 
<span class='linenumber'>346</span> </span><span class="WHIT">					</span><span class="NAME">YAHOO.util.Dom.addClass</span><span class="PUNC">(</span><span class="NAME">this.innerElement</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_PANEL_RESIZE</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>347</span> 
<span class='linenumber'>348</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.createElement</span><span class="PUNC">(</span><span class="STRN">"DIV"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>349</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle.id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"_r"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>350</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle.className</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_RESIZE_HANDLE</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>351</span> </span><span class="WHIT">				   </span><span class="COMM">//</span><span class="WHIT">
<span class='linenumber'>352</span> 
<span class='linenumber'>353</span> </span><span class="WHIT">               </span><span class="NAME">this.getDDResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.ddResize</span><span class="PUNC">;</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>354</span> 
<span class='linenumber'>355</span> 
<span class='linenumber'>356</span> </span><span class="WHIT">                    </span><span class="NAME">this.beforeShowEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>357</span> 
<span class='linenumber'>358</span> </span><span class="WHIT">                        </span><span class="NAME">this.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"auto"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>359</span> </span><span class="WHIT">                    </span><span class="WHIT">
<span class='linenumber'>360</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>361</span> 
<span class='linenumber'>362</span> 
<span class='linenumber'>363</span> </span><span class="WHIT">                    </span><span class="NAME">this.beforeHideEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>364</span> 
<span class='linenumber'>365</span> </span><span class="WHIT">                        </span><span class="COMM">/*
<span class='linenumber'>366</span>                              Set the CSS "overflow" property to "hidden" before
<span class='linenumber'>367</span>                              hiding the panel to prevent the scrollbars from 
<span class='linenumber'>368</span>                              bleeding through on Firefox for OS X.
<span class='linenumber'>369</span>                         */</span><span class="WHIT">
<span class='linenumber'>370</span> 
<span class='linenumber'>371</span> </span><span class="WHIT">               </span><span class="COMM">//     04.12.2007/Removed Suspicious to cause reload indicator in Firefox!</span><span class="WHIT">
<span class='linenumber'>372</span> </span><span class="WHIT">               </span><span class="COMM">//     this.body.style.overflow = "hidden";</span><span class="WHIT">
<span class='linenumber'>373</span> </span><span class="WHIT">                      </span><span class="COMM">//repelling the dreadful 'still reloading' effect in Firefox</span><span class="WHIT">
<span class='linenumber'>374</span> </span><span class="WHIT">                      </span><span class="NAME">myWindowMan.hideContent</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>375</span> </span><span class="WHIT">                    </span><span class="WHIT">
<span class='linenumber'>376</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>377</span> 
<span class='linenumber'>378</span> 
<span class='linenumber'>379</span> </span><span class="WHIT">					</span><span class="NAME">this.beforeRenderEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>380</span> 
<span class='linenumber'>381</span> </span><span class="WHIT">                        </span><span class="COMM">/*
<span class='linenumber'>382</span>                              Set the CSS "overflow" property to "hidden" by
<span class='linenumber'>383</span>                              default to prevent the scrollbars from bleeding
<span class='linenumber'>384</span>                              through on Firefox for OS X.
<span class='linenumber'>385</span>                         */</span><span class="WHIT">
<span class='linenumber'>386</span> 
<span class='linenumber'>387</span> </span><span class="WHIT">                        </span><span class="NAME">this.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"hidden"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>388</span> 
<span class='linenumber'>389</span> </span><span class="WHIT">                        </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="WHIT"> </span><span class="NAME">this.footer</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>390</span> </span><span class="WHIT">                            </span><span class="NAME">this.setFooter</span><span class="PUNC">(</span><span class="STRN">""</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>391</span> </span><span class="WHIT">                        </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>392</span> 
<span class='linenumber'>393</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>394</span> 
<span class='linenumber'>395</span> </span><span class="NAME">this.hideEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>396</span> </span><span class="NAME">myWindowMan.unlink</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>397</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>398</span> 
<span class='linenumber'>399</span> 
<span class='linenumber'>400</span> 
<span class='linenumber'>401</span> 
<span class='linenumber'>402</span> </span><span class="NAME">this.dragEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">             </span><span class="WHIT">
<span class='linenumber'>403</span> </span><span class="WHIT">            </span><span class="NAME">myWindowMan.hideOnDrag</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>404</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>405</span> 
<span class='linenumber'>406</span> 
<span class='linenumber'>407</span> 
<span class='linenumber'>408</span> 
<span class='linenumber'>409</span> </span><span class="WHIT">					</span><span class="NAME">this.renderEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>410</span> </span><span class="WHIT">						</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">me</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">;</span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>411</span> </span><span class="WHIT">						</span><span class="NAME">me.innerElement.appendChild</span><span class="PUNC">(</span><span class="NAME">me.resizeHandle</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>412</span> 
<span class='linenumber'>413</span> 
<span class='linenumber'>414</span> 
<span class='linenumber'>415</span> 
<span class='linenumber'>416</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.util.DragDrop</span><span class="PUNC">(</span><span class="NAME">this.resizeHandle.id</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>417</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.setHandleElId</span><span class="PUNC">(</span><span class="NAME">this.resizeHandle.id</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>418</span> </span><span class="WHIT">                  </span><span class="COMM">//??neccessary  </span><span class="WHIT">
<span class='linenumber'>419</span> </span><span class="WHIT">                  </span><span class="NAME">this.ddResize.invalidHandleIds</span><span class="PUNC">[</span><span class="STRN">"myAssociatedWindowName"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.WindowName</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>420</span> </span><span class="WHIT">						</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>421</span> </span><span class="COMM">//important to initialize the Height of our Body, since else it would populate only a part of the window.</span><span class="WHIT">
<span class='linenumber'>422</span> </span><span class="NAME">me.body.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">parseInt</span><span class="PUNC">(</span><span class="NAME">me.cfg.config</span><span class="PUNC">[</span><span class="STRN">"height"</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.footer.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>423</span> 
<span class='linenumber'>424</span> 
<span class='linenumber'>425</span> </span><span class="WHIT">          </span><span class="WHIT">
<span class='linenumber'>426</span> 
<span class='linenumber'>427</span> </span><span class="WHIT">					   </span><span class="NAME">this.ddResize.onMouseUp</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>428</span> </span><span class="WHIT">						     </span><span class="NAME">myWindowMan.showContentAll</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">							</span><span class="WHIT">
<span class='linenumber'>429</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>430</span> </span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>431</span> 
<span class='linenumber'>432</span> 
<span class='linenumber'>433</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.onMouseDown</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>434</span> 
<span class='linenumber'>435</span> </span><span class="WHIT">							</span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetWidth</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>436</span> </span><span class="WHIT">							</span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>437</span> </span><span class="WHIT">							</span><span class="WHIT">
<span class='linenumber'>438</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"width"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>439</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"height"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>440</span> 
<span class='linenumber'>441</span> </span><span class="WHIT">							</span><span class="NAME">this.startPos</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="NAME">YAHOO.util.Event.getPageX</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>442</span> </span><span class="WHIT">											 </span><span class="NAME">YAHOO.util.Event.getPageY</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>443</span> 
<span class='linenumber'>444</span> </span><span class="WHIT">							</span><span class="NAME">me.innerElement.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"hidden"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>445</span> </span><span class="WHIT">							</span><span class="NAME">me.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"auto"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>446</span> </span><span class="WHIT">                     </span><span class="NAME">myWindowMan.setFocus</span><span class="PUNC">(</span><span class="NAME">this.invalidHandleIds</span><span class="PUNC">[</span><span class="STRN">"myAssociatedWindowName"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>447</span> </span><span class="WHIT">                     </span><span class="WHIT">
<span class='linenumber'>448</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>449</span> </span><span class="COMM">//Wird ausgef�hrt, wenn das DragHandle gezogen wird.</span><span class="WHIT">
<span class='linenumber'>450</span> </span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>451</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.onDrag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>452</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>453</span> </span><span class="WHIT">                     </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">e</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>454</span> </span><span class="WHIT">                     </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>455</span> </span><span class="WHIT">                       </span><span class="NAME">newPos</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="NAME">YAHOO.util.Event.getPageX</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>456</span> </span><span class="WHIT">										  </span><span class="NAME">YAHOO.util.Event.getPageY</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>457</span> </span><span class="WHIT">                     </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>458</span> 
<span class='linenumber'>459</span> </span><span class="WHIT">                     </span><span class="NAME">myWindowMan.hideOnDrag</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>460</span> 
<span class='linenumber'>461</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">offsetX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">this.startPos</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>462</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">offsetY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="PUNC">[</span><span class="NUMB">1</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">this.startPos</span><span class="PUNC">[</span><span class="NUMB">1</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>463</span> </span><span class="WHIT">					</span><span class="WHIT">
<span class='linenumber'>464</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">Math.max</span><span class="PUNC">(</span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">offsetX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>465</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">Math.max</span><span class="PUNC">(</span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">offsetY</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>466</span> 
<span class='linenumber'>467</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"width"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>468</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"height"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>469</span> 
<span class='linenumber'>470</span> </span><span class="COMM">//Die 10 kann ver�ndert werden, damit der untere Bereich f. das</span><span class="WHIT">
<span class='linenumber'>471</span> </span><span class="COMM">//DragHandle entsprechend Platz bietet.</span><span class="WHIT">
<span class='linenumber'>472</span> 
<span class='linenumber'>473</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.footer.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>474</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>475</span> </span><span class="WHIT">								</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>476</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>477</span> 
<span class='linenumber'>478</span> </span><span class="WHIT">							</span><span class="NAME">me.body.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT">  </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>479</span> 
<span class='linenumber'>480</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>481</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetWidth</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>482</span> 
<span class='linenumber'>483</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>484</span> </span><span class="WHIT">								</span><span class="NAME">me.innerElement.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>485</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>486</span> 
<span class='linenumber'>487</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">100</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>488</span> </span><span class="WHIT">								</span><span class="NAME">me.innerElement.style.width</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"100px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>489</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>490</span> 
<span class='linenumber'>491</span> 
<span class='linenumber'>492</span> 
<span class='linenumber'>493</span> 
<span class='linenumber'>494</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">me.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_iFrame'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>495</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>496</span> </span><span class="WHIT">							</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>497</span> </span><span class="WHIT">								</span><span class="NAME">myIFrame.height</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//bodyHeight ;</span><span class="WHIT">
<span class='linenumber'>498</span> </span><span class="WHIT">								</span><span class="NAME">myIFrame.width</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//newWidth - constScrollbarExt ;</span><span class="WHIT">
<span class='linenumber'>499</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>500</span> 
<span class='linenumber'>501</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>502</span> 
<span class='linenumber'>503</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>504</span> 
<span class='linenumber'>505</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>506</span> </span><span class="WHIT">						</span><span class="NAME">this.cfg.applyConfig</span><span class="PUNC">(</span><span class="NAME">userConfig</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>507</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>508</span> 
<span class='linenumber'>509</span> </span><span class="WHIT">					</span><span class="NAME">this.initEvent.fire</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>510</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>511</span> 
<span class='linenumber'>512</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.prototype.toString</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>513</span> </span><span class="WHIT">						</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="STRN">"ResizePanel "</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>514</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>515</span> </span><span class="WHIT">				</span><span class="WHIT">
<span class='linenumber'>516</span> </span><span class="WHIT">				</span><span class="COMM">// END RESIZEPANEL SUBCLASS //</span><span class="WHIT">
<span class='linenumber'>517</span> 
<span class='linenumber'>518</span> 
<span class='linenumber'>519</span> </span><span class="WHIT">            </span><span class="NAME">onDOMReady</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">p_sType</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>520</span> </span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>521</span> </span><span class="WHIT">               </span><span class="NAME">myWindowMan.myNLS.registerElement</span><span class="PUNC">(</span><span class="STRN">"nls2112_ResizeFooter"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//for draggables</span><span class="WHIT">
<span class='linenumber'>522</span> </span><span class="WHIT">               </span><span class="NAME">myWindowMan.myNLS.setElementTexts</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>523</span> </span><span class="WHIT">                        </span><span class="WHIT">
<span class='linenumber'>524</span> </span><span class="WHIT">               </span><span class="NAME">myMenuMan.createMenuBar</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">             </span><span class="WHIT">
<span class='linenumber'>525</span> </span><span class="WHIT">               </span><span class="NAME">myMenuMan.show</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>526</span> 
<span class='linenumber'>527</span> </span><span class="WHIT">               </span><span class="NAME">YAHOO.YuiPortals.menuCloudTag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.Panel</span><span class="PUNC">(</span><span class="STRN">"MenuCloudTag"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>528</span> </span><span class="WHIT">                                     </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="NAME">iframe</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">xy</span><span class="PUNC">:</span><span class="PUNC">[</span><span class="NUMB">10</span><span class="PUNC">,</span><span class="NUMB">42</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">width</span><span class="PUNC">:</span><span class="STRN">"250px"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>529</span> </span><span class="WHIT">                                       </span><span class="NAME">height</span><span class="PUNC">:</span><span class="STRN">"400px"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>530</span> </span><span class="WHIT">                                       </span><span class="NAME">overflow</span><span class="PUNC">:</span><span class="STRN">"auto"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>531</span> </span><span class="WHIT">                                       </span><span class="NAME">effect</span><span class="PUNC">:</span><span class="PUNC">{</span><span class="NAME">effect</span><span class="PUNC">:</span><span class="NAME">YAHOO.widget.ContainerEffect.FADE</span><span class="PUNC">,</span><span class="NAME">duration</span><span class="PUNC">:</span><span class="NUMB">1.500</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>532</span> </span><span class="WHIT">                                         </span><span class="NAME">visible</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>533</span> </span><span class="WHIT">                                       </span><span class="NAME">constraintoviewport</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>534</span> </span><span class="WHIT">                                        </span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>535</span> </span><span class="COMM">/*
<span class='linenumber'>536</span> 	            YAHOO.YuiPortals.menuCloudTag.render();
<span class='linenumber'>537</span>                YAHOO.YuiPortals.menuCloudTag.show() ;
<span class='linenumber'>538</span> 
<span class='linenumber'>539</span> */</span><span class="WHIT">
<span class='linenumber'>540</span> 
<span class='linenumber'>541</span> </span><span class="WHIT">               </span><span class="NAME">YAHOO.YuiPortals.overlayBg</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.Overlay</span><span class="PUNC">(</span><span class="STRN">"myBackground"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>542</span> </span><span class="WHIT">                                                                       </span><span class="NAME">fixedcenter</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="PUNC">,</span><span class="WHIT">	</span><span class="WHIT">
<span class='linenumber'>543</span> </span><span class="WHIT">                                                                       </span><span class="NAME">visible</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="PUNC">,</span><span class="WHIT">                                                                         </span><span class="WHIT">
<span class='linenumber'>544</span> </span><span class="WHIT">                                                                       </span><span class="NAME">top</span><span class="PUNC">:</span><span class="STRN">"50px"</span><span class="PUNC">,</span><span class="WHIT">                                                                                                                                            </span><span class="WHIT">
<span class='linenumber'>545</span> </span><span class="WHIT">																							  </span><span class="NAME">width</span><span class="PUNC">:</span><span class="STRN">"100%"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>546</span> </span><span class="WHIT">                                                                       </span><span class="NAME">height</span><span class="PUNC">:</span><span class="STRN">"400px"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>547</span> </span><span class="WHIT">                                                                       </span><span class="NAME">iframe</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="WHIT">
<span class='linenumber'>548</span> </span><span class="WHIT">                                                                        </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>549</span> </span><span class="WHIT">               </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'myBackground'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">style.zIndex</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"1"</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//important, to not hide panels!</span><span class="WHIT">
<span class='linenumber'>550</span> </span><span class="WHIT">               </span><span class="WHIT">
<span class='linenumber'>551</span> 
<span class='linenumber'>552</span> 
<span class='linenumber'>553</span> </span><span class="WHIT">               </span><span class="NAME">YAHOO.YuiPortals.overlay1</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.Overlay</span><span class="PUNC">(</span><span class="STRN">"Splash"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>554</span> </span><span class="WHIT">                                                                       </span><span class="NAME">fixedcenter</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>555</span> </span><span class="WHIT">                                                                       </span><span class="NAME">visible</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>556</span> </span><span class="WHIT">																							  </span><span class="NAME">width</span><span class="PUNC">:</span><span class="STRN">"450px"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>557</span> </span><span class="WHIT">                                                                       </span><span class="NAME">height</span><span class="PUNC">:</span><span class="STRN">"365px"</span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>558</span> </span><span class="WHIT">                                                                       </span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>559</span> </span><span class="WHIT">					</span><span class="WHIT">
<span class='linenumber'>560</span> </span><span class="WHIT">               </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'Splash'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">style.zIndex</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"1"</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//important, to not hide panels!</span><span class="WHIT">
<span class='linenumber'>561</span> </span><span class="WHIT">               </span><span class="WHIT">
<span class='linenumber'>562</span> 
<span class='linenumber'>563</span> </span><span class="WHIT">               </span><span class="COMM">//myWindowMan.OverlayManager.register(YAHOO.YuiPortals.menuCloudTag) ;             </span><span class="WHIT">
<span class='linenumber'>564</span> </span><span class="WHIT">            </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>565</span> 
<span class='linenumber'>566</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">test</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>567</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>568</span> </span><span class="WHIT">   </span><span class="NAME">alert</span><span class="PUNC">(</span><span class="STRN">"TEST"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>569</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>570</span> 
<span class='linenumber'>571</span> 
<span class='linenumber'>572</span> </span><span class="COMM">/*a class to load the Portals Properties*/</span><span class="WHIT">
<span class='linenumber'>573</span> </span><span class="NAME">NS2112.clientSettings</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>574</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>575</span> </span><span class="WHIT">   </span><span class="NAME">this.getContentWindowExt</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="NAME">alert</span><span class="PUNC">(</span><span class="STRN">"getExtend"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>576</span> </span><span class="WHIT">   </span><span class="NAME">this.getContentWindowX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>577</span> </span><span class="WHIT">   </span><span class="NAME">this.getContentWindowY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>578</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>579</span> </span><span class="WHIT">   </span><span class="NAME">this.getPos</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>580</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>581</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>582</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>583</span> </span><span class="PUNC">}</span></pre></body></html>